package com.service;

import com.result.Result;
import com.vo.LoginData;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface LoginService {

    Result<LoginData> backLogin(String username, String password, HttpServletRequest request, HttpServletResponse response);

    Result<Boolean> getVerifyCode(String phoneNum, HttpServletRequest request, HttpServletResponse response);

    Result<Boolean> resetPassword(String phoneNum, String verifyCode, String newPassword, HttpServletRequest request, HttpServletResponse response);
}
